import mitt from 'mitt';

type Events = {
  'bili:danmu': BiliDanmuMsg;
  'bili:gift': BiliGift;
  'bili:open': any;
  'bili:close': any;
  'bili:error': any;
};

export const biliEmitter = mitt<Events>();